package com.BigDate.server.service;



import com.BigDate.server.pojo.ExpComment;
import com.BigDate.server.pojo.expCommentNodeTreeVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author stx
 * @since 2021-12-22
 */
public interface IExpCommentService extends IService<expCommentNodeTreeVo> {
    List<expCommentNodeTreeVo> findComment(Integer expId);

    List<expCommentNodeTreeVo> findChildComment(Integer commentId);

    int add(ExpComment comment);

    Page<expCommentNodeTreeVo> findAll(Integer current, Integer size);

    int deleteById(Integer id);
}
